package com.wpx.log.core.handler;

import java.lang.reflect.Field;

import com.wpx.log.core.LogContext;
import com.wpx.log.core.LogRequestContext;

public class OpIpLogHandler implements ILogHandler {

	
	@Override
	public boolean isSync() {
		return true;
	}

	@Override
	public Object handler(LogContext logContext, LogRequestContext logRequestContext, Field logField) {
		return logRequestContext.getIp();
	}

}
